//
//  UIColor+LNHex.m
//  LCLazyNotes
//
//  Created by 千锋 on 16/1/4.
//  Copyright © 2016年 andy. All rights reserved.
//

#import "UIColor+LNHex.h"
#import <Colours.h>
@implementation UIColor (LNHex)

+ (UIColor *) colorWithHex:(NSInteger)rgbHexValue {
    return [UIColor colorWithHex:rgbHexValue alpha:1.0];
}

+ (UIColor *)colorWithHex:(NSInteger)rgbHexValue
                    alpha:(CGFloat)alpha {
    return [UIColor colorWithRed:((float)((rgbHexValue & 0xFF0000) >> 16))/255.0
                           green:((float)((rgbHexValue & 0xFF00) >> 8))/255.0
                            blue:((float)(rgbHexValue & 0xFF))/255.0
                           alpha:alpha];
}

+ (UIColor *)systemColor
{
    return [UIColor emeraldColor];
}

+ (UIColor *)systemDarkColor
{
    return [UIColor hollyGreenColor];
}

+ (UIColor *)grayBackgroudColor
{
    return [UIColor colorWithHex:0xF9FFFF];
}

@end
